<%-- 
    Document   : modificaUtenteDati
    Created on : 19-giu-2008, 17.36.10
    Author     : Rosario Salone
 Form per la modifica dei dati di un'utenza.
--%>
<%@ page session="true" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>HomeTeatre - Modifica dati utente -</title>
<style type="text/css">
<!--
.Stile1 {color: #FFFFFF}
-->
</style>
</head>

<body>
<table width="804" height="96" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <th width="100" scope="col"><img src="immagini/posta052.gif" width="64" height="77" /></th>
    <th width="700" scope="col"><a href="index.jsp"><img src="immagini/httitolo.jpg" width="700" height="100" /></a></th>
    
  </tr>
</table>




<table width="800" border="0" cellpadding="0" cellspacing="0" bgcolor="#0066CC">
  <tr>
    <th width="100" height="181" border="10" rowspan="9" valign="top" scope="col">
        
        <%
        
          if (session.getAttribute("password")==null || session.getAttribute("login")==null){ 


      %>     
                
                <a href="accediUt.jsp"><img src="immagini/Accedi.jpg" width="103" height="50" /></a>
        <a href="registraUtente.jsp"><img src="immagini/Registrati.jpg" width="103" height="50" /></a>
        
        
            
            
        <%} else{
                if (session.getAttribute("verifica")!=null){     
                %>
                <img src="immagini/AreaAmmini3.jpg" width="103" height="50" />
                <a href="aggiungiEvento.jsp"><img src="immagini/AggEv.jpg" width="103" height="50" /></a>
            <a href="nonImplementato.jsp"><img src="immagini/RimUt.jpg" width="103" height="50" /></a>
            <a href="cancellaUtente.jsp"><img src="immagini/CanUt.jpg" width="103" height="50" /></a>

        
        <%}else
        {                                          
         %> 
              <img src="immagini/AreaGest.jpg" width="103" height="50" />
              <a href="accessoPrenot.jsp"><img src="immagini/prenotazioni_1.jpg" width="103" height="50" /></a>
                <a href="modificaUtente.jsp"><img src="immagini/ModificaD.jpg" width="103" height="50" /></a>
            
           
            
            <a href="cancellaUtente.jsp"><img src="immagini/CanUt.jpg" width="103" height="50" /></a>                        
                  <%}
                
      
                %> 
                
                              &nbsp;&nbsp;
          <form id="form1" name="form1" method="post" action="Controller">
          <input type="hidden" value="logOut" name="provenienza" />
          <input type="submit" value="log out" name="logOut" />
          
          </form>
<%} %>

     </th>


    <th width="300" height="400" rowspan="6" align="justify" valign="top" scope="col" ><form id="form1" name="form1" method="post" action="Controller">
      <label>
       
       <% if (request.getAttribute("operaz")!=null) {
            if(request.getAttribute("operaz").equals("giaRegistrato")){%>
       <font size=+2 color=yellow> Utente già registrato! Cambiare dati login..</font> <br/>
       <%}}%>
          <br />
      
      <span class="Stile1">&nbsp;&nbsp; Email (login) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <br />
     
     &nbsp;&nbsp;<input type="text" name="login" value="<%=request.getAttribute("login")%>" />
      <br />
        <br />
        <br />
        </span></label>
      <span class="Stile1">
      <label> &nbsp;&nbsp; Password  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <br />
	   
      &nbsp;&nbsp; <input type="password" name="password" value="<%=request.getAttribute("password")%>"  />
      <br />
      </label>
      <label>&nbsp;&nbsp;&nbsp;Ripeti Password &nbsp;
          <br />
      &nbsp;&nbsp;&nbsp;<input type="password" name="rippassword" value="<%=request.getAttribute("password")%>"  />
      </label>
      </span>
      <p class="Stile1">
        <label>&nbsp;&nbsp;Nome &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <br />
          &nbsp;&nbsp;<input type="text" name="nome" value="<%=request.getAttribute("nome")%>" />
          </label>
        <br />
        <label>&nbsp;&nbsp;Cognome &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <br />
          &nbsp;&nbsp;<input type="text" name="cognome" value="<%=request.getAttribute("cognome")%>" />
          </label>
      </p>
  
      <th width="299" height="400" rowspan="6" align="justify" valign="top" scope="col">
                    <p class="Stile1">&nbsp;</p>
      <p class="Stile1">

        <label>Indirizzo &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      <br />
          <input type="text" name="indirizzo" value="<%=request.getAttribute("indirizzo")%>" />
          </label>
    <br />
        <label>Città&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                   <br />
            <input type="text" name="citta" value="<%=request.getAttribute("citta")%>" />
          <br />
          <br />
          <br />
          <br />
          Codice fiscale &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <br />
          <input type="text" name="codiceFiscale" value="<%=request.getAttribute("codiceFiscale")%>" />
          </label>
      <br />
        <label>Telefono&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      <br />
          <input type="text" name="telefono" value="<%=request.getAttribute("telefono")%>" />
          </label>
      </p>
      <p>
        <span class="Stile1">

        </span>
        <label>
        <input type="hidden" name="provenienza" value="registraUtente" />
        <input type="hidden" name="operaz" value="modifica" />
        <input type="submit" name="conferma" value="Conferma Dati" />
        &nbsp;&nbsp;&nbsp;

        </label>
      </p>
        </form>
 
   </th>
       
     <tr>
    <th width="103" height="400" rowspan="6" valign="top" scope="col"><img src="immagini/modifica.jpg" width="100" height="400" /></th>
     </tr>                        
</table>
</body>
</html>

